<%-- 
    Document   : newEditTipoDeBus
    Created on : 28/05/2014, 03:08:45 PM
    Author     : USUARIO
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>AdminLTE | Dashboard</title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- bootstrap 3.0.2 -->
        <link href="../../css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <!-- font Awesome -->
        <link href="../../css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <!-- Ionicons -->
        <link href="../../css/ionicons.min.css" rel="stylesheet" type="text/css" />
        <!-- Theme style -->
        <link href="../../css/AdminLTE.css" rel="stylesheet" type="text/css" />

    </head>
    <body class="skin-blue">      
        
        <!-- header logo: style can be found in header.less -->
        <%@include file="../../jspf/header.jspf" %>
        <!-- header logo: style can be found in header.less -->
        
        
        <div class="wrapper row-offcanvas row-offcanvas-left">
            <!-- Left side column. contains the logo and sidebar -->
            <aside class="left-side sidebar-offcanvas">                
                <!-- sidebar: style can be found in sidebar.less -->
                <section class="sidebar">
                    <!-- Sidebar user panel -->
                    <div class="user-panel">
                        <div class="pull-left image">
                            <img src="../../img/avatar3.png" class="img-circle" alt="User Image" />
                        </div>
                        <div class="pull-left info">
                            <p>Hello, Jane</p>

                            <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
                        </div>
                    </div>
                    <!-- search form -->
                    <form action="#" method="get" class="sidebar-form">
                        <div class="input-group">
                            <input type="text" name="q" class="form-control" placeholder="Search..."/>
                            <span class="input-group-btn">
                                <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
                            </span>
                        </div>
                    </form>
                    <!-- /.search form -->
                    
                    <!-- sidebar menu: : style can be found in sidebar.less -->
                    <%@include file="../../jspf/menu.jspf" %>
                    <!-- sidebar menu: : style can be found in sidebar.less -->
                    
                </section>
                <!-- /.sidebar -->
            </aside>

            <!-- Right side column. Contains the navbar and content of the page -->
            <aside class="right-side">                
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                        Tipo de Bus
                        <small>Mantenedor</small>
                    </h1>
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li>
                        <li class="active">Vehículo</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
                    <% String msg = request.getParameter("msg");
                        if(msg!=null)
                        {
                    %>
                    <div class="col-xs-7">
                        <div class="alert alert-success alert-dismissable">
                            <i class="fa fa-check"></i>
                            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times</button>
                            <b>Confirmación!&nbsp;</b> <%=msg%>
                        </div>
                    </div>
                    <%
                        }
                    %>
                                        
                    <div class="row">
                        <!-- left column -->
                        <div class="col-md-12">
                            <!-- general form elements -->
                            <div class="box box-primary">
                                <div class="box-header">
                                    <h3 class="box-title">Registro Nuevo Tipo de Bus</h3>
                                </div><!-- /.box-header -->
                                <!-- form start -->
                                <form role="form" method="post" action="../../controlador">
                                    <input type="hidden" value="operTB" name="accion"/>
                                    <input type="hidden" value="I" name="accionBD"/>
                                    <div class="box-body">
                                        <div class="row">
                                            <div class="col-xs-5">
                                                <label>Nombre</label>
                                                <input type="text" name="tbNom" class="form-control" placeholder="Nombre de Tipo de Bus">
                                            </div>
                                        </div><br/>
                                        <div class="row">                                            
                                            <div class="col-xs-5">
                                                <label>Descripción</label>
                                                <textarea name="tbDes" class="form-control" rows="4" placeholder="Escribir una descripción...">                                                    
                                                </textarea>
                                            </div>
                                        </div><br/>
                                        <div class="row">
                                            <div class="col-xs-5">
                                                <label>Estado</label>
                                                <div class="checkbox">
                                                    <label>
                                                        <input type="checkbox" name="tpEst"/>
                                                        Deshabilitado
                                                    </label>                                                
                                                </div>
                                            </div>
                                        </div><br/>
                                    </div><!-- /.box-body -->
                                    <div class="box-footer">
                                        <button type="submit" class="btn btn-primary">Registrar Tipo de Bus</button>
                                        <a href="listTipoBus.jsp">
                                            <button type="button" class="btn btn-primary">Cancelar</button>
                                        </a>
                                    </div>
                                </form>
                            </div><!-- /.box -->
                        </div>
                    </div>
                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->


        <!-- jQuery 2.0.2 -->
        <script src="../../js/jquery.min.js"></script>
        <!-- Bootstrap -->
        <script src="../../js/bootstrap.min.js" type="text/javascript"></script>
        <!-- AdminLTE App -->
        <script src="../../js/app.js" type="text/javascript"></script>

    </body>
</html>

